#ifndef VARIABLESTACK_H
#define VARIABLESTACK_H
//
#include <QString>
#include <QList>
#include <QTableView>
#include <QStandardItemModel>
#include "variable.h"
//
class VariableStack : public QTableView
{
Q_OBJECT
public:
	VariableStack(QWidget *parent);
	void put(Variable *); 
	double pop();

private:
		QList<Variable> Stack;
		QStandardItemModel *model;
		void UpdateModel();
		
		QHeaderView *Vertical;
		QHeaderView *Horizontal;
};
#endif
